import http from '@/plugins/axios'
// 获取相册列表
export const getList = (params) => http.post('/api/Picture/PostGetUserPictureAlbumList',params)
// 删除相册
export const del = (params) => http.post('/api/Picture/PostDeleteUserPictureAlbum',params)
// 创建相册
export const add = (params) => http.post('/api/Picture/PostCreateUserPictureAlbum',params)
// 修改相册
export const save = (params) =>http.post('/api/Picture/PostUpdateUserPictureAlbum',params)
// 获取相册内图片
export const getPics = (params) => http.post('/api/Picture/PostGetPicturesInfoByAlbumID',params)
// 刪除相冊內圖片
export const delPic = (params) =>http.post('/api/Picture/PostDeletePicture',params)
// 保存相册图片信息
export const savePic = (params) => http.post('/api/Picture/PostUpdatePictureInfo',params)
// 授权科室
export const auth = (params) =>http.post('/api/Picture/PostAlbumApplyToDeparements',params)